package creation.abstractFactory;

class BJChessPizza implements Pizza {
    private String type = "BJChessPizza ";

    @Override
    public void prepare() {
        System.out.println(type + "prepare");
    }

    @Override
    public void baker() {
        System.out.println(type + "baker");

    }

    @Override
    public void cut() {
        System.out.println(type + "cut");

    }

    @Override
    public void box() {
        System.out.println(type + "box");

    }
}

class LDChessPizza implements Pizza {
    private String type = "LDChessPizza ";

    @Override
    public void prepare() {
        System.out.println(type + "prepare");
    }

    @Override
    public void baker() {
        System.out.println(type + "baker");

    }

    @Override
    public void cut() {
        System.out.println(type + "cut");

    }

    @Override
    public void box() {
        System.out.println(type + "box");

    }
}